<?php

namespace Mql\GeoPoiBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Recoit
 *
 * @ORM\Table(name="recoit", indexes={@ORM\Index(name="fk_Visiteur_has_Notification_Notification1_idx", columns={"Notification_id"}), @ORM\Index(name="fk_Visiteur_has_Notification_Visiteur1_idx", columns={"Visiteur_User_id"})})
 * @ORM\Entity
 */
class Recoit
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="date", type="datetime", nullable=true)
     */
    private $date;

    /**
     * @var \Visiteur
     *
     * @ORM\ManyToOne(targetEntity="Visiteur")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="Visiteur_User_id", referencedColumnName="id")
     * })
     */
    private $visiteurUser;

    /**
     * @var \Notification
     *
     * @ORM\ManyToOne(targetEntity="Notification")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="Notification_id", referencedColumnName="id")
     * })
     */
    private $notification;


}
